Home
last modified time | relevance | path

Searched hist:"971 f3918a5a8febbbab355079972fb31ee7c0f33" (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dpercpu.cdiff 971f3918a5a8febbbab355079972fb31ee7c0f33 Fri Aug 14 08:00:49 CEST 2009 Tejun Heo <tj@kernel.org> percpu: fix pcpu_reclaim() locking

pcpu_reclaim() calls pcpu_depopulate_chunk() which makes use of pages
array and bitmap returned by pcpu_get_pages_and_bitmap() and thus
should be called under pcpu_alloc_mutex. pcpu_reclaim() released the
mutex before calling depopulate leading to double free and other
strange problems caused by the unexpected concurrent usages of pages
array and bitmap. Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>